export const userRules = {
    username: [
      { required: true, message: '请输入用户名', trigger: 'blur' }
    ],
    password: [
        { required: true, message: '请输入密码', trigger: 'blur' },
        { min: 8, max: 10, message: '长度在 8 到 10 个字符', trigger: 'blur' }
      ]
  }